<?php
namespace app\index\controller;

use app\index\model\Test;

class Index
{
    public function index()
    {
        /*$data = [
            'name'=>'abc',
            'add_time' => time()
        ];
        $res = Db::table("test")->insert($data);*/
        $test = Test::get(1);
        return view('',['model'=>$test]);
    }

    public function ceshi(){

        return "just for test";
    }
}
